package com.JustTest;

import com.graphbuilder.curve.Point;
import org.springframework.aop.ClassFilter;
import org.springframework.aop.MethodMatcher;
import org.springframework.aop.Pointcut;

/**
 * Created by mike on 18/4/8.
 */
public class MyAopPointcut implements Pointcut{

    @Override
    public ClassFilter getClassFilter() {
        return new MyClassFilter();
    }

    @Override
    public MethodMatcher getMethodMatcher() {
        return null;
    }

    public class MyClassFilter implements ClassFilter{

        @Override
        public boolean matches(Class<?> aClass) {
            System.out.println("============="+aClass.getName());
            return false;
        }
    }
}
